<?php
/**
 * Copyright (c) 2006, PORTALIER Julien
 * 
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 * 
 * @package      FeatherPHP
 * @subpackage   Libs
 * @copyright    Copyright (c) 2006, Julien PORTALIER
 * @link         http://feather.portalier.com
 * @license      http://www.opensource.org/licenses/mit-license.php The MIT License
 */

class Inflections
{
	static protected $constants = array('wiki');
	
	static protected $singularize_rules = array(
		'/ses$/' => 's', 
		'/ies$/' => 'y',
		'/xes$/' => 'x', 
		'/s$/'   => ''
	);
	
	static protected $pluralize_rules   = array(
		'/s$/' => 'ses',
		'/y$/' => 'ies',
		'/x$/' => 'xes',
		'/$/'  => 's'
	);
}
?>